package com.hnjd.entity;

public class Carts {
	
	private Integer id;
	private Integer amount;
	private Integer good_id;
	private Integer user_id;
	private Integer total;
	private Goods good;
	
	public Carts(Integer id, Integer amount, Integer good_id, Integer user_id, Integer total, Goods good) {
		super();
		this.id = id;
		this.amount = amount;
		this.good_id = good_id;
		this.user_id = user_id;
		this.total = total;
		this.good = good;
	}
	public Goods getGood() {
		return good;
	}
	public void setGood(Goods good) {
		this.good = good;
	}
	public Carts() {
		super();
	}
	public Integer getTotal() {
		return total;
	}
	public void setTotal(Integer total) {
		this.total = total;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getAmount() {
		return amount;
	}
	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	public Integer getGood_id() {
		return good_id;
	}
	public void setGood_id(Integer good_id) {
		this.good_id = good_id;
	}
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
	

}
